<div>
	<form id="send-sms-form" onsubmit="return false;">
		<table class="table table-bordered table-hover">
		<tbody>
			<tr><td width=80>记录编号</td><td>{$list.inbox_id}</td></tr>
			<tr><td>短信条数</td><td>{$list.mobile_amount}</td></tr>
			<tr><td>审核状态</td><td><switch name="list.audit"><case value="1"><span class="label label-success">审核通过</span></case><case value="-1"><span class="label label-important">审核未过</span></case><case value="0">未审核</case><default /><span class="label label-warning">参数出错</span></switch></td></tr>
			<tr><td>短信状态</td><td><switch name="list.status"><case value="1"><span class="label label-success">发送队列中</span></case><case value="-1"><span class="label label-important">垃圾箱</span></case><case value="0"><span class="label label-info">草稿</span></case><default /><span class="label label-warning">参数出错</span></switch></td></tr>
			<tr><td>创建时间</td><td>{$list.create_time}</td></tr>
			<tr><td>发送时间</td><td>{$list.send_time}</td></tr>
			<tr><td>短信内容</td><td>{$list.sms_content}</td></tr>
			<tr><td>操作</td><td><!---<span class="label label-info" style="cursor:pointer">编辑</span>-->
			<span class="label label-success" style="cursor:pointer;margin-left:5px" onclick="exportPhone({$list.inbox_id})">导出</span></td></td></tr>
			<tr><td>手机号</td><td><div style="text-align:left;word-break:break-all;">{$list.mobiles}</div></td></tr>
		</tbody>
	</table>
	</form>
</div>
<script>
	$("#datetimepicker").datetimepicker({format:"yyyy-MM-dd hh:mm:ss"});
	$.getScript("__PUBLIC__/js/jquery/jquery.form.js",function(){
		$("#send-sms-form").submit(function(){
			$(this).ajaxSubmit({
				url:'__APP__/SMS/smsSend',
				dataType:'json',
				success:function(json){
					$.warn('提示',json.info);
				}
			});
		});
	});
</script>